<?php
          $table = \Phpcmf\Service::M()->prefix.'attachment_data';
        // 创建字段
        if (!\Phpcmf\Service::M()->db->fieldExists('cutinfo', $table)) {
            \Phpcmf\Service::M()->query('ALTER TABLE `' . $table . '` ADD `cutinfo` varchar(255)  DEFAULT \'0\' COMMENT \'剪裁标志位\';');
        }

        \Phpcmf\Service::M('cache')->sync_cache('');
